package cn.exrick.xboot.base.vo

import cn.exrick.xboot.core.common.constant.CommonConstant
import com.baomidou.mybatisplus.annotation.FieldFill
import com.baomidou.mybatisplus.annotation.TableField
import com.fasterxml.jackson.annotation.JsonFormat
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import org.springframework.format.annotation.DateTimeFormat
import java.util.*

@ApiModel("事故案例实体")
data class BusinessVo(

        @ApiModelProperty("id")
        var id: String? = "",

        @ApiModelProperty("行业名称")
        var businessName: String? = null,

        @ApiModelProperty("创建者", hidden = true)
        var createBy: String = "",

        @ApiModelProperty("备注")
        var description: String? = null,

        @ApiModelProperty(value = "是否启用 0启用 -1禁用")
        var status:Int? = CommonConstant.STATUS_NORMAL,

        @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        @ApiModelProperty(value = "创建时间", hidden = true)
        var createTime: Date? = null

)